<%@ page contentType="text/html; charset=utf-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
    <head>
        <title>职位管理</title>
        <link href="../../css/mine.css" type="text/css" rel="stylesheet">
        <script type="text/javascript" src="/jquery/jquery-1.8.3.min.js"></script>
    </head>

    <body>
        <div class="div_head">
            <span>
                <span style="float:left">当前位置是：-》职位管理</span>
                <span style="float:right;margin-right: 8px;font-weight: bold">
                    <a style="text-decoration: none" href="javascript:void (0)" onclick="javascript:history.back()">【返回】</a>
                </span>
            </span>
        </div>
        <div></div>

        <div style="font-size: 13px;margin: 10px 5px">
            <form action="/resource/demo3/add" method="post" >
            <table border="1" width="100%" class="table_a">
                <tr>
                    <td width="120px;">职位编码<span style="color:red">*</span>：</td>
                    <td><input type="text" name="roleId" readonly value="${roleId}" /></td>
                </tr>

                <tr>
                    <td>职位名称<span style="color:red">*</span>：</td>
                    <td><input name="roleName"></td>
                </tr>
                <tr>
                    <td>职位分类<span style="color:red">*</span>：</td>
                    <td>
						<select name="classifyId">
                            <c:forEach items="${position}" var="pos">
                                <option value="${pos.posId}" >${pos.classifyName}</option>
                            </c:forEach>
						</select>
					</td>
                </tr>
                <tr>
                    <td>所属部门<span style="color:red">*</span>：</td>
                    <td>
                       
						 <select name="deptId">
                             <c:forEach items="${dept}" var="dept">
                                 <option value= "${dept.deptId}">${dept.deptName}</option>
                             </c:forEach>
						</select>
                    </td>
                </tr>
				
				<tr>
                    <td>菜单权限<span style="color:red">*</span>：</td>
                    <td>
                        <c:forEach items="${munes}" var="mnue">
                             <input type="checkbox" name="mnueId" value="${mnue.mnueId}"/>${mnue.mnueName}<br/>
                                <c:forEach items="${mnue.secondMnue}" var="secondMnue">
                                    &nbsp;&nbsp;<input type="checkbox" name="mnueId" value="${secondMnue.mnueId}"/>${secondMnue.mnueName}<br/>
                                </c:forEach>
                        </c:forEach>
                    </td>
                </tr>


				<tr>
                    <td>职位描述<span style="color:red">*</span>：</td>
                    <td>
                        <textarea name="postDescribe"></textarea>
                    </td>                
                </tr>

				<tr>
                    <td>备       注：</td>
                    <td>
                        <textarea name="postRemark"></textarea>
                    </td>                
                </tr>
				<tr>
                    <td>是否启用：</td>
                    <td>
                        <select name="status">
							<option value="1">是</option>
							<option value="0">否</option>
						</select>
                    </td>                
                </tr>
				
                <tr>
                    <td colspan="2" align="center">
                        <input type="submit" value="添加">
						<input type="reset" value="清空">
                    </td>
                </tr>  
            </table>
            </form>
        </div>
    </body>
</html>